package com.yxe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yxe.mapper.RepairsMapper;
import com.yxe.pojo.Repairs;
import com.yxe.service.RepairsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzq
 * @since 2022-12-09
 */
@Service
public class RepairsServiceImpl extends ServiceImpl<RepairsMapper, Repairs> implements RepairsService {

    @Resource
    private RepairsMapper repairsMapper;

    @Override
    public void addRepairs(Repairs repairs) {
        repairsMapper.addRepairs(repairs);
    }

    @Override
    public void deleteRepairs(String id) {
        repairsMapper.deleteRepairs(id);
    }


}
